/*
 * @Desc:
 * @Version: v1.00
 * @Author: went
 * @Date: 2023-12-29 14:04:43
 * @LastEditors: went
 * @LastEditTime: 2023-12-29 14:16:23
 */
let BASE_URL = "";
let SOURCE_URL = "";
let APP_ID = "";
const TIME_OUT = 30000;

if (process.env.NODE_ENV === "development") {
  BASE_URL = "/api";
  APP_ID = "BcAuAOKnpC";
} else if (process.env.NODE_ENV === "production") {
  let origin = window.location.origin;
  BASE_URL = `${origin}/xgk/service/hsteach`;
  // APP_ID = "BcAuAOKnpC"; // 测试
  APP_ID = "PNOboCVCz3"; // 生产
} else {
  BASE_URL = "";
}
export { BASE_URL, SOURCE_URL, TIME_OUT, APP_ID };
